Welcome![Sign In][Sign Up]
Location:
Search - MATLAB Coding

Search list

[Compress-Decompress algrithmsSPIHT(Matlab).zip

Description:

% Matlab implementation of SPIHT (without Arithmatic coding stage)
%
% By Jing Tian, scuteejtian@hotmail.com

fprintf('-----------   Welcome to SPIHT Matlab Demo!   ----------------\n');

fprintf('-----------   Load Image   ----------------\n');
infilename = 'lena512.bmp';
outfilename = 'lena512_reconstruct.bmp';

Orig_I = double(imread(infilename));

rate = 1;

OrigSize = size(Orig_I, 1);
max_bits = floor(rate * OrigSize^2);
OutSize = OrigSize;
image_spiht = zeros(size(Orig_I));
[nRow, nColumn] = size(Orig_I);

fprintf('done!\n');
fprintf('-----------   Wavelet Decomposition   ----------------\n');
n = size(Orig_I,1);
n_log = log2(n);
level = n_log;
% wavelet decomposition level can be defined by users manually.
type = 'bior4.4';
[Lo_D,Hi_D,Lo_R,Hi_R] = wfilters(type);

[I_W, S] = func_DWT(Orig_I, level, Lo_D, Hi_D);

fprintf('done!\n');

fprintf('-----------   Encoding   ----------------\n');
img_enc = func_SPIHT_Enc(I_W, max_bits, nRow*nColumn, level);  

fprintf('done!\n');
fprintf('-----------   Decoding   ----------------\n');
img_dec = func_SPIHT_Dec(img_enc);

fprintf('done!\n');
fprintf('-----------   Wavelet Reconstruction   ----------------\n');
img_spiht = func_InvDWT(img_dec, S, Lo_R, Hi_R, level);

fprintf('done!\n');
fprintf('-----------   PSNR analysis   ----------------\n');

imwrite(img_spiht, gray(256), outfilename, 'bmp');

Q = 255;
MSE = sum(sum((img_spiht-Orig_I).^2))/nRow / nColumn;
fprintf('The psnr performance is %.2f dB\n', 10*log10(Q*Q/MSE));


Platform: | Size: 232873 | Author: jasonchang | Hits:

[Other resourcematlab.coding

Description: 《MATLAB程序设计教程》一书的随书源代码-"MATLAB Programming Guide," a book of the source code along with book
Platform: | Size: 28280 | Author: bunny | Hits:

[matlabQuantizer.zip

Description: Quantizer source code matlab, there are many CDF PDF codes as well.
Platform: | Size: 270016 | Author: netor4you@yahoo.com | Hits:

[VC/MFC用Matlab实现Huffman编码

Description: Huffman 这个名字,程序员们至少会联想到二叉树和二进制编码。的确,我们总以 Huffman 编码来概括 D.A.Huffman 个人对计算机领域特别是数据压缩领域的杰出贡献。我们知道,压缩 = 模型 + 编码,作为一种压缩方法,我们必须全面考虑其模型和编码两个模块的功效;但同时,模型和编码两个模块又相互具有独立性。-Huffman, programmers will at least think of a binary tree and binary coding. Indeed, we always Huffman coding to summarize D. A. Huffman personal computer areas, especially in the field of data compression outstanding contribution. We know that the compression encoding = model, as a compression method, we must take full account of two model and coding module effectiveness; But at the same time, model and coding module of two mutual independence.
Platform: | Size: 2048 | Author: 亞男 | Hits:

[GDI-Bitmapmatlab wavelet code

Description: 图形图像处理中小波压缩编码的码头喇叭实现,非常简单,只是调用系统函数-graphics processing wavelet compression coding to achieve the terminal loudspeaker, very simple, just call functions
Platform: | Size: 3072 | Author: liu | Hits:

[matlab通信原理exam3_ami

Description: 使用matlab实现ami编码,通信原理实验之一,步骤有解释说明-achieve ami use Matlab coding, communication principle experiment, step-by-step explanation
Platform: | Size: 1024 | Author: 刘云 | Hits:

[Compress-Decompress algrithms图像压缩的几个MATLAB算法

Description: 图像压缩的几个MATLAB算法:分块编码、高斯金字塔、离散余弦变换、单值分解。-Image Compression Algorithm several MATLAB : Block Coding, Gaussian pyramid, discrete cosine transform, singular value decomposition.
Platform: | Size: 10240 | Author: 陈量 | Hits:

[matlabmatlab.coding

Description: 《MATLAB程序设计教程》一书的随书源代码-"MATLAB Programming Guide," a book of the source code along with book
Platform: | Size: 27648 | Author: bunny | Hits:

[Special Effectswatermark

Description: 图像中数字水印matlab编码,水印的嵌入提取及嵌入强度-Digital watermark image matlab coding, the embedded watermark extraction and embedding strength
Platform: | Size: 63488 | Author: xwtiancai | Hits:

[Othermatlab

Description: 香农编码,为已知的序列概率,用香农编码进行编码.-Shannon coding sequence for the known probability of encoding used to encode the Shannon.
Platform: | Size: 70656 | Author: mao | Hits:

[matlabmatlabspecial

Description: matlab编程是中文版吗?中文版,好东西-material about matlab coding.......................
Platform: | Size: 2447360 | Author: 幸福在一起 | Hits:

[Software EngineeringoptimPID

Description: i need the matlab coding for pid controller using particle swarm optimization
Platform: | Size: 43008 | Author: anandh | Hits:

[matlabHistogram-Modification-Matlab-coding

Description: it is matlab code for image histogram modification used to collect the same property of image.
Platform: | Size: 2048 | Author: anbu | Hits:

[matlabmatlab-coding-skills

Description: 自述的matlab编程小技巧,供代码编写者参考-matlab coding skills
Platform: | Size: 3072 | Author: chen | Hits:

[Waveletmatlab-coding

Description: the attached file have some matlab coding for wavelet based image processing applications
Platform: | Size: 2048 | Author: sujatha | Hits:

[OtherMATLAB-coding-m-hex-constellation

Description: MATLAB编码实现m进制星座图,星座图的绘制方法-MATLAB coding m hex constellation, constellation mapping method
Platform: | Size: 1024 | Author: 王振 | Hits:

[matlab31767646Histogram-Modification-Matlab-coding

Description: Matlab Code for Histogram Equalization
Platform: | Size: 2048 | Author: Baski | Hits:

[Otheramozeshe matlab

Description: matlab coding for pde equation
Platform: | Size: 2453504 | Author: hmdrza | Hits:

[matlabmatlab函数画图模板

Description: matlab绘图模板汇总,可用于绘制各类实用图表(good practical exemples of plotting common graphies using matlab coding)
Platform: | Size: 373760 | Author: tonyslater1989 | Hits:

[matlabMatlab coding for PAM4 basic transmission

Description: 此代码是用matlab软件仿真PAM4信号的传输,自动生成传输数据,在接收端做基本的信号处理,计算出误码率。(This code uses MATLAB software to simulate the transmission of pam4 signal, automatically generate the transmission data, do basic signal processing at the receiving end, and calculate the bit error rate.)
Platform: | Size: 7208960 | Author: wijdoy | Hits:
« 12 3 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net